SET Site=dnn480
set ver=debug
SET PROD=iFinity.PropertyAgent.ModuleFriendlyUrlProvider
SET PATH=iFinity.PropertyAgentFriendlyUrlProvider
set website_path=website
set UIOnly=All
if NOT x%1 == x""  set site=%1
if not x%2 == x""  set ver=%2
if not x%3 == x""  set UIOnly=%3
:copy
====module provider dll====
if %UIOnly% == All copy %PROD%\bin\%ver%\iFinity.PropertyAgent* d:\dotnetnuke\%site%\%website_path%\bin
========================
rem dir for file dates
dir d:\dotnetnuke\%site%\%website_path%\bin\iFinity.*

copy %prod%\UI\*.ascx d:\dotnetnuke\%site%\%website_path%\DesktopModules\%PATH%\
copy %prod%\UI\*.ashx d:\dotnetnuke\%site%\%website_path%\DesktopModules\%PATH%\
copy %prod%\UI\*.css d:\dotnetnuke\%site%\%website_path%\DesktopModules\%PATH%\
copy %prod%\UI\images\*.* d:\dotnetnuke\%site%\%website_path%\DesktopModules\%PATH%\images\

copy %prod%\UI\js\*.* d:\dotnetnuke\%site%\%website_path%\DesktopModules\%PATH%\js\
copy %prod%\UI\App_LocalResources\*.resx d:\dotnetnuke\%site%\%website_path%\DesktopModules\%PATH%\App_LocalResources\
ECHO OFF
echo The script was finished at:
date /t
time /t
